package com.cql.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cql.common.core.DO.MomentDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 朋友圈表
 *
 * @author cql
 * @email 979243431@qq.com
 * @date 2021-11-15 10:15:10
 */
@Mapper
public interface MomentMapper extends BaseMapper<MomentDO> {

    /**
     * 获取用户文章列表
     *
     * @param userId
     * @param status
     * @param dataScope
     * @return
     */
    List<MomentDO> listMoment(@Param("userId") Long userId, @Param("status") Integer status, @Param("dataScope") Integer dataScope);
}
